package DefAndVal.case2

/**
  * @author juntao zhang
  */
class Test {
  def even1: (Int => Boolean) = (_ % 2 == 0) //返回值是一个函数 这种做法不好
  val even2: (Int => Boolean) = (_ % 2 == 0)
}
